Click or drag to resize

SipClientSendMessage Method (ContactInfo, ContactInfo, String, String)

Sends instant message with the specified content type.

Namespace:  Independentsoft.Sip
Assembly:  Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
public RequestResponse SendMessage(
	ContactInfo from,
	ContactInfo to,
	string message,
	string contentType
)

Parameters

from
Type: Independentsoft.SipContactInfo
A ContactInfo contains address and display name of the sender of the message.
to
Type: Independentsoft.SipContactInfo
A ContactInfo contains address and name of the recipient.
message
Type: SystemString
A string contains message to send.
contentType
Type: SystemString
Content type of the body.

Return Value

Type: RequestResponse
A RequestResponse containing sent Request and received appropriate Response.
See Also